package com.zj.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("banner")
public class Banner implements Serializable {
    @TableId(value = "bannerId")
    private Long bannerId;   //轮播图id
    @TableField(value = "imageUrl")
    private String imageUrl;   // 图片 url   OSS
    @TableField(value = "linkUrl")
    private String linkUrl;    //跳转链接
    @TableField(value = "title")
    private String title;       // 轮播图标题
    @TableField(value = "bannerStatus")
    private Integer bannerStatus;   // 轮播图状态  1.正常  0.停用
}
